package com.dayaokeji.rhythmschoolstudent.client.mine.bean;

import com.bigkoo.pickerview.model.IPickerViewData;

/**
 * Created by Gorden on 2017/10/14.
 */

public class GenderBean implements IPickerViewData {

    private int type;
    private String name;

    public GenderBean(int type, String name) {
        this.type = type;
        this.name = name;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String getPickerViewText() {
        return getName();
    }
}
